/**
 * Creat by TanLei
 * Description:
 * User:86183
 * Date:2022-05-12
 * Time:10:38
 */
public class Demo18 {
    public static void main(String[] args) throws InterruptedException {
        Object o = new Object();

        System.out.println("等待之前");
        o.wait();
        System.out.println("等待之后");
    }
}
